package com.xquant.pricing.pricingConfig.service;

import com.github.pagehelper.PageInfo;

import java.util.HashMap;
import java.util.Map;

/**
 * @author ershuai.zhao
 */
public interface OptionContractService {

    public static String BEAN_NAME = "optionContractService";

    /**
     * queryContractCfg
     *
     * @param map
     * @return
     */
    public PageInfo<Map<String,Object>> queryContractCfgByPage(Map map);

    /**
     * @param map
     * @return
     */
    public void insertContractCfg(Map map);

    /**
     * updateContractCfg
     *
     * @param map
     * @return
     */
    public void updateContractCfg(Map map);

    /**
     * deleteContractCfg
     *
     * @param map
     * @return
     */
    public void deleteContractCfg(Map map);


    HashMap queryTircurveDaycounter(Map<String, Object> params);
    HashMap queryTdivyieldDaycounter(Map<String, Object> params);
    HashMap queryTvolsurfaceDaycounter(Map<String, Object> params);


}
